﻿<%@ page language="java" contentType="text/html; charset=UTF-8"
         pageEncoding="UTF-8"%>
<%@include file="/WEB-INF/jsp/common/head.jsp" %>

<div class="right">
    <div class="location">
        <strong>当前位置:</strong>
        <span>用户管理页面 >> 用户添加页面</span>
    </div>
    <div class="supplierAdd">
        <form id="userForm" name="userForm" enctype="multipart/form-data" method="post" action="${pageContext.request.contextPath }/sys/give/modify">
            <!--div的class 为error是验证错误，ok是验证成功-->
            <input type="text" name="id" value="${giveApply.id}" hidden>
            <div>
                <label for="userName">申请人：</label>
                <input type="text" name="userName" id="userName" value="${giveApply.userName}">
                <!-- 放置提示信息 -->
                <font color="red"></font>
            </div>
            <div>
                <label for="reason">申请理由：</label>
                <input type="text" name="realName" id="reason" value="${giveApply.reason}">
                <!-- 放置提示信息 -->
                <font color="red"></font>
            </div>

            <div>
                <label >状态：</label>
                <c:if test="${giveApply.state == 1}" >
                    <input type="radio" name="state" value="1" checked>已审核
                    <input type="radio" name="state" value="2">未审核
                </c:if>
                <c:if test="${giveApply.state == 2}" >
                    <input type="radio" name="state" value="1" >已审核
                    <input type="radio" name="state" value="2" checked>未审核
                </c:if>
            </div>

            <div class="supplierAddBtn">
                <input type="button" name="add" id="add" value="保存" >
                <input type="button" id="back" name="back" value="返回" >
            </div>
        </form>
    </div>
</div>
</section>
<%@include file="/WEB-INF/jsp/common/foot.jsp" %>
<script type="text/javascript" src="${pageContext.request.contextPath }/statics/js/admin/add.js"></script>
